#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int i = 0;
	int j = 0;
	int k = 0;
	for ( i = 1; i <=13; i+=2)
	{
	
		
			for (j = 0; j <(13-i)/2; j++)
			{
				printf(" ");
			}
			for ( j = 0; j <i ; j++)
			{
				printf("*");
			}
			for (j = 0; j <(13 - i) / 2; j++)
			{
				printf(" ");
			}
			printf("\n");
		
}
	for (i = 11; i >0; i -= 2)
	{

		k++;

		for (j = 0; j < k; j++)
		{
			printf(" ");
		}
		for (j = 0; j <i; j++)
		{
			printf("*");
		}
		for (j = 0; j < k; j++)
		{
			printf(" ");
		}
		printf("\n");
	}

	return 0;
}